//
//  MnagerDetailCell.m
//  BCVersion
//
//  Created by 吴 崧 on 14-3-7.
//  Copyright (c) 2014年 Jungle. All rights reserved.
//

#import "ManagerDetailCell.h"
#import <SDWebImage/UIImageView+WebCache.h>
@implementation ManagerDetailCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)configfWithDataSource:(ClientManagerModel *)model
{
    [self.avatarImageView setImageWithURL:[NSURL URLWithString:model.avatar] placeholderImage:nil];
    self.nameLabel.text = model.name;
    [self.scroreImage setScore:model.score.floatValue Large:YES];
    self.bankDescLabel.text = [NSString stringWithFormat:@"%@ %@ %@",model.bankMain,model.bankSub1,model.bankSub2];
    self.workTimeLabel.text = model.workTimeString;
    self.workTypeLabel.text = [model.workType componentsJoinedByString:@" "];
    self.addressLabel.text = model.address;
    self.phoneLabel.text = model.tel;
    
}




@end
